package com.feilx.changggou.order.service.impl;

import com.changgou.bean.PageVo;
import com.changgou.bean.Query;
import com.changgou.bean.QueryCondition;
import com.changgou.pojo.order.TbOrderLogEntity;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.feilx.changggou.order.dao.TbOrderLogDao;
import com.feilx.changggou.order.service.TbOrderLogService;


@Service("tbOrderLogService")
public class TbOrderLogServiceImpl extends ServiceImpl<TbOrderLogDao, TbOrderLogEntity> implements TbOrderLogService {

    @Override
    public PageVo queryPage(QueryCondition params) {
        IPage<TbOrderLogEntity> page = this.page(
                new Query<TbOrderLogEntity>().getPage(params),
                new QueryWrapper<TbOrderLogEntity>()
        );

        return new PageVo(page);
    }

}
